﻿<Window x:Class="MetaTracker.View.RegisterFatSecretView"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        WindowStartupLocation="CenterScreen"
        Title="RegisterFatSecretView" Height="295" Width="453">
    <StackPanel Orientation="Vertical" Margin="5,0,5,0">
        
        <TextBlock Margin="0,15,0,5" Text="Link FatSecret Account" 
                   HorizontalAlignment="Center"/>
        <StackPanel Orientation="Vertical" HorizontalAlignment="Center" Margin="0,10,0,0">
            <TextBlock Text="Launch the FatSecret Registration page by clicking the button below." 
                       Margin="0,5,0,0"/>
            <TextBlock Text="Then, Log into FatSecret." 
                       Margin="0,0,0,5"/>
            <Button Content="_Launch FatSecret Registration" Margin="0,5,0,25"
                    Command="{Binding LaunchRegistration}"/>
            <TextBlock Text="When given a validation code, enter here:" />
            <TextBox Width="200" Margin="5,5,5,5" Text="{Binding VerificationCode,
                UpdateSourceTrigger=PropertyChanged, Mode=TwoWay}"/>
            <Button Content="_Validate and Register" Command="{Binding ValidateOauthCommand}"/>
        </StackPanel>
    </StackPanel>
</Window>
